package lab02.test10;

public class Test10 {
    public static void main(String[] args) {

        People Pp=new People();
        Pp.name="lh";
        Pp.age=21;
        System.out.println(Pp.study());


        ChinaPeople Cp=new ChinaPeople();
        Cp.country="中国的";
        System.out.println(Cp.run());
        Cp.study();


        AmJericanPeople Ap=new AmJericanPeople();
        Ap.country="AmJericans";
        System.out.println(Pp.study());
        Ap.study();


        BeiJingPeople Bp=new BeiJingPeople();
        Bp.country="北京";
        System.out.println(Pp.study());
        Bp.study();

    }
}
